package com.twb.auth.entity.twbUser.dto;

import java.io.Serializable;

import com.twb.core.base.entity.dto.BaseDto;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author DSY
 * @ClassName TwbUser
 * @Description 用户信息
 * @date 2018年11月1日 下午2:20:00
 */
public class TwbUserDto extends BaseDto implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@ApiModelProperty(value = "ID")
	private String id;

	/**
	 * 租户ID
	 */
	@ApiModelProperty(value = "租户ID")
	private String tenantId;

	/**
	 * 登陆名称
	 */
	@ApiModelProperty(value = "登录名称")
	private String loginName;

	/**
	 * 登录密码
	 */
	@ApiModelProperty(value = "登录密码")
	private String pwd;

	/**
	 * 姓名
	 */
	@ApiModelProperty(value = "姓名")
	private String name;

	/**
	 * 用户类型
	 */
	@ApiModelProperty(value = "用户类型")
	private String userType;

	/**
	 * 手机号码
	 */
	@ApiModelProperty(value = "手机号")
	private String phone;

	/**
	 * 邮箱
	 */
	@ApiModelProperty(value = "邮箱")
	private String mail;

	/**
	 * 用户状态（0，失效；1，生效）
	 */
	@ApiModelProperty(value = "用户状态（0，失效；1，生效）")
	private String status;

	/**
	 * 是否第一次登录（0，否；1，是）
	 */
	@ApiModelProperty(value = "是否第一次登录（0，否；1，是）")
	private Integer firstLogin;
	/**
	 * 职务
	 */
	@ApiModelProperty(value = "职务")
	private String position;
	/**
	 * 微信openid
	 */
	@ApiModelProperty(value = "微信openid")
	private String openid;

	/**
	 * APP客户端唯一标识
	 */
	@ApiModelProperty(value = "APP客户端唯一标识")
	private String clientId;

	/**
	 * 企业微信用户ID
	 */
	@ApiModelProperty(value = "企业微信用户ID")
	private String cpUserId;

	/**
	 * 数据权限类型（1：全部数据；2：本部门及以下数据；3：本部门数据；4：仅本人数据；5：自定义数据）
	 */
	@ApiModelProperty(value = "数据权限类型")
	private String dataScopeType;

	/** 直属主管 */
	@ApiModelProperty(value = "直属主管")
	private String directSupervisor;

	/**
	 * 机构编码
	 */
	private String orgId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTenantId() {
		return tenantId;
	}

	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getFirstLogin() {
		return firstLogin;
	}

	public void setFirstLogin(Integer firstLogin) {
		this.firstLogin = firstLogin;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getClientId() {
		return clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public String getCpUserId() {
		return cpUserId;
	}

	public void setCpUserId(String cpUserId) {
		this.cpUserId = cpUserId;
	}

	public String getDataScopeType() {
		return dataScopeType;
	}

	public void setDataScopeType(String dataScopeType) {
		this.dataScopeType = dataScopeType;
	}

	public String getDirectSupervisor() {
		return directSupervisor;
	}

	public void setDirectSupervisor(String directSupervisor) {
		this.directSupervisor = directSupervisor;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
}
